package com.angel.provider.sys;

import java.util.List;
import java.util.Map;

import com.angel.health.SysUser;
import com.angel.health.SysUserExt;

/**
 * @author cheng sir 2016年9月14日上午10:00:34
 */
public interface SysUserProvider {
	public int insert(SysUser sysUser);

	public int updateById(SysUser sysUser);

	public List<Map<String, Object>> findAll(SysUser sysUser);

	public Map<String, Object> login(SysUser user);

	public Map<String, Object> accountValidate(SysUser user, String certPic,String validatecode);

	public Map<String, Object> phoneValidate(SysUser user, String certPic,
			String sendCertPic, SysUser sysUser);

	public Map<String, Object> resetValidate(SysUser user, SysUser sysUser,String repassword);
	
	public List<Map<String,Object>> findAllUser(SysUser user);

	public SysUserExt findUserInfo(SysUser sysUser);

	public void resetpassword(SysUser sysUser);
	
	public List<Map<String,Object>> findUserByPhone(SysUser user);
	
	public SysUser findById(SysUser user);
}
